<?php use_helper("i18n")?>
<?php $culture = $sf_user->getCulture()?>
<?php if( isset( $earthQuakes ) && count( $earthQuakes ) > 0 ):?>
	<?php foreach( $earthQuakes as $eq ):?>
	    <tr>
	        <td><?php echo TMDService::toThaiDate( $eq->getDttime() )?></td>
	        <td><?php echo TMDService::toThaiTime( $eq->getDttime() )?></td>
	        <td style="text-align:left;"><?php echo TMDService::renderI18n( $eq, "getSorigin", $culture )?></td>
	        <td><?php echo $eq->getIlatitudeDegree()?> <?php echo $eq->getIlatitudeMinute()?>' <?php echo $eq->getIlatitudeSecond()?>'' N</td>
	        <td><?php echo $eq->getIlongitudeDegree()?> <?php echo $eq->getIlongitudeMinute()?>' <?php echo $eq->getIlongitudeSecond()?>'' E</td>
	        <td><?php echo $eq->getNmagnitude()?></td>
	        <td><?php echo $eq->getIdeepUnderground()?></td>
	    </tr>
	<?php endforeach;?>
<?php endif;?>